package com.torry.edss.domain.accessor;

import com.torry.edss.domain.model.HisDailyLine;
import com.torry.edss.infras.entity.HisDailyLineDO;
import com.torry.boot.starter.mybatisplus.service.IAccessor;

import java.util.List;

/**
 * <p>
 *  访问类
 * </p>
 *
 * @author torry.wang
 * @since 2025-05-11
 */
public interface HisDailyLineAccessor extends IAccessor<HisDailyLine, HisDailyLineDO> {

    HisDailyLine getPreviousDayLine(String code, String date);

    HisDailyLine getNextDayLine(String code, String date);

    HisDailyLine getDayLine(String code, String date);

    List<HisDailyLine> findAllDayLines(String code);

    List<HisDailyLine> findAllDayLines(String code, List<String> dates);
}
